package com.lening.iot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.iot.dto.AccontrolDTO;
import com.lening.iot.dto.MonthlycardDTO;
import com.lening.iot.po.MonthlycardPO;
import com.lening.iot.vo.MonthlycardVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ToDo:
 * @Author：李忠达
 * @date: 2024/6/4 14:13
 */
@Mapper
public interface MonthlycardDAO  extends BaseMapper<MonthlycardPO> {

    Page<MonthlycardDTO> getAllMtc(Page<MonthlycardDTO> monthlycardDTOPage);

    MonthlycardVO getById(Long id);

    List<MonthlycardDTO> getAll(@Param("communityName")String communityname);
}
